home *** CD-ROM | disk | FTP | other *** search
Wrap
function render() { i = 1; while(i < numframes + 1) { var nangle; pic = stage["p_" + i]; nangle += waveLength; sangle += drift; var angle = sangle + nangle; var scale = dist * Math.sin(angle); if(tama == 1) { pic._alpha = 100 - (1 + Math.abs(Math.sin(angle)) * i * 2); } pic._y = scale * optY * (i / numframes) * distorzija; pic._xscale = 100 + scale * optXS * (i / numframes) * distorzija; pic._yscale = 100 - scale * optYS * (i / numframes) * distorzija; pic._height -= i * udaljenostkraja; i++; } } function preset(choice) { _level0.waveLength = choice[0]; _level0.sangle = choice[1]; _level0.dist = choice[2]; _level0.drift = choice[3]; _level0.picDrift = choice[4]; _level0.rotate = choice[5]; _level0.optX = choice[6]; _level0.optY = choice[7]; _level0.optXs = choice[8]; _level0.optYs = choice[9]; _level0.optR = choice[10]; } var ap = "<APPLETINFO>\r\nappletname=flagimage\r\nappletfilename=flagimage1.swf\r\ncreated=1037444810670\r\n</APPLETINFO>\r\n<ACTIONSCRIPT>\r\nwidth=200\r\nheight=180\r\ndistorzija=2\r\nstagex=1\r\nstagey=-10\r\nurl=http://www.effectmaker.com/clickpage.html\r\ntarget=_blank\r\nimg=t2003l.jpg\r\nbackgroundcolor=0\r\nuseshading=1\r\nflagt=0\r\nquali=0\r\nuseurl=1\r\n</ACTIONSCRIPT>\r\n<HTML>\r\nwidth=200\r\nheight=180\r\n</HTML>\r\n<GENERATED>\r\nwidth=200\r\nheight=180\r\nimg=t2003l.jpg\r\nimg_GS=7;compressionratio;root.moviearea.pic0.img;0;0\r\nbackgroundcolor=000000\r\n</GENERATED>"; var ts = "-1"; if(today.getTime() < ts && ts < today.getTime() + 172800000 || ts == -1) { activated = "true"; } else { setProperty("expiredapplet", _X, 10); } fscommand("allowscale",false); _quality = "low"; quali = parseInt("0"); if(quali == 1) { _quality = "medium"; } pre1 = [-0.154645,0,12.475,0.005125,0,0,0,1,0,0,0]; flagt = parseInt("0"); width = parseInt("200"); height = parseInt("180"); tama = parseInt("1"); distorzija = parseInt("2"); stagey = parseInt("-10"); stagex = parseInt("1"); url = "http://www.effectmaker.com/clickpage.html"; useurl = "1"; target = "_blank"; color = parseInt("0"); if(useurl == 0) { setProperty(button.button, _visible, false); } button._x = -5; button._y = -5; button._width = width + 10; button._height = height + 10; numframes = 50; udaljenostkraja = 2; if(flagt == 1) { udaljenostkraja = 10; } var stage = _level0.moviearea; w = stage.pic0.img._width / numframes; a = stage.pic0.img._x; stage._x = - w + stagex; stage._y = stage.pic0.img._height * distorzija / 11 + stagey; i = 1; while(i < numframes + 1) { duplicateMovieClip(stage.pic0,"p_" + i,16384 + i); pic = stage["p_" + i]; wx += w; pic.img._x = a - wx; pic._x = i * w; pic._alpha = 100; pic.tacka._height = pic.img._height + 10; pic.tacka._width = pic.img._width; pic.tacka._X = w + 0.1; pic.tacka._y = -5; i++; } preset(_level0.pre1);